﻿package com.syxp.pda.entity.system;

import java.util.HashSet;
import java.util.Set;

/**
 * version: 1.0
 * 
 * date: 2011.07.12
 * 
 * author guanying
 *
 */
public class FunctionDefine { //功能表
	
	private Integer functionID; //功能操作编号
	
	private String functionCode; //功能操作编码
	
	private String functionName;//功能操作名称
	
	private String functionOperate;//操作指令
	
	private Integer parentID;
	
	private  double orderID;//顺序号
	
	private Byte isModule;//是否是模块
	
	private Integer imageIndex; //图片索引号
	
	private String remarks; // 备注
	
	//EL_Role（权限表）与El_FunctionDefine（功能表）： 多对多（通过EL_Role_Func表体现出来）
	private Set<Role> roles = new HashSet<Role>();
	
	
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
	public Integer getFunctionID() {
		return functionID;
	}
	public void setFunctionID(Integer functionID) {
		this.functionID = functionID;
	}
	public String getFunctionCode() {
		return functionCode;
	}
	public void setFunctionCode(String functionCode) {
		this.functionCode = functionCode;
	}
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	public String getFunctionOperate() {
		return functionOperate;
	}
	public void setFunctionOperate(String functionOperate) {
		this.functionOperate = functionOperate;
	}
	public Integer getParentID() {
		return parentID;
	}
	public void setParentID(Integer parentID) {
		this.parentID = parentID;
	}
	public double getOrderID() {
		return orderID;
	}
	public void setOrderID(double orderID) {
		this.orderID = orderID;
	}
	public Byte getIsModule() {
		return isModule;
	}
	public void setIsModule(Byte isModule) {
		this.isModule = isModule;
	}
	public Integer getImageIndex() {
		return imageIndex;
	}
	public void setImageIndex(Integer imageIndex) {
		this.imageIndex = imageIndex;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
}
